﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ZKDepthDetials.aspx.cs" Inherits="ZKDepthDetials" %>

<%@ Register Src="~/Pfoot.ascx" TagPrefix="uc1" TagName="Pfoot" %>
<%@ Register Src="~/header.ascx" TagPrefix="uc1" TagName="header" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>实物地质资料中心--钻孔信息详情</title>
    <link rel="shortcut icon" href="pic/mark.ico" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="css/all.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="js/Utils.js"></script>
    <script type="text/javascript" src="js/BannerSlide.js"></script>

    <script type="text/javascript">
        function openwindow(url, name, iWidth, iHeight) {
            var url; //转向网页的地址;
            var name; //网页名称，可为空;
            var iWidth; //弹出窗口的宽度;
            var iHeight; //弹出窗口的高度;
            var iTop = (window.screen.availHeight - 30 - iHeight) / 2; //获得窗口的垂直位置;
            var iLeft = (window.screen.availWidth - 10 - iWidth) / 2; //获得窗口的水平位置;
            window.open(url, name, 'height=' + iHeight + ',,innerHeight=' + iHeight + ',width=' + iWidth + ',innerWidth=' + iWidth + ',top=' + iTop + ',left=' + iLeft + ',toolbar=no,menubar=no,scrollbars=auto,resizeable=no,location=no,status=no');
        }
    </script>
</head>
<body>
    <center>
        <form id="form1" runat="server">
            <uc1:header runat="server" ID="header" />
            <div id="big" style="margin: -80px  auto; height: auto; width: 990px; min-height: 400px; text-align: left;">


                <div id="ZKDIV" style="width: 988px; min-height: 500px; position: relative; background: url(pic/background.jpg) repeat-x; display: none;" align="center" runat="server">
                    <asp:GridView ID="ZKGridView" runat="server" AutoGenerateColumns="False"
                        CellPadding="3" Width="988px" CssClass="GridViewTdHeight" Style="margin: 20px 0 250px 0; position: relative; float: left; text-align: center;" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px">
                        <RowStyle ForeColor="#000066" BorderColor="#42aed6" BorderWidth="1px" />
                        <Columns>
                            <asp:BoundField DataField="ZL_FILE_ID" HeaderText="地质资料档号"
                                SortExpression="ZL_FILE_ID" />
                            <asp:BoundField DataField="ZK_CODE" HeaderText="钻孔编号"
                                SortExpression="KT_LCODE" />
                            <%--<asp:HyperLinkField DataNavigateUrlFields="ZK_CODE" HeaderText="深度（米）"
                                    DataNavigateUrlFormatString="ZKImgInfo.aspx?zkid={0}"
                                    DataTextFormatString="{0}" DataTextField="CY_DEEP"
                                    SortExpression="ZK_CODE" Target="_blank" />
<asp:HyperLinkField HeaderText="岩心图"  />
                            --%>

                            <asp:TemplateField HeaderText="钻孔深度">
                                <ItemTemplate>
                                    <%# Eval("ZK_DEPTH") %>(m)<a href="javascript:void(0);" onclick="javascript:openwindow('ZKImgInfo.aspx?zkid=<%# Eval("ID") %>','',1100,730)">&nbsp;查看详情</a>
                                </ItemTemplate>
                            </asp:TemplateField>

                            <asp:BoundField DataField="ZK_LONGITUDE" HeaderText="地理坐标经度"
                                SortExpression="ZK_LONGITUDE" />
                            <asp:BoundField DataField="ZK_LATITUDE" HeaderText="地理坐标纬度"
                                SortExpression="ZK_LATITUDE" />
                            <asp:BoundField DataField="ZK_CORELEN" HeaderText="钻取岩心长度"
                                SortExpression="ZK_CORELEN" />
                            <asp:BoundField DataField="GC_CORELEN" HeaderText="馆藏岩心长度"
                                SortExpression="GC_CORELEN" />
                            <asp:BoundField DataField="START_DATE" HeaderText="开孔日期"
                                SortExpression="START_DATE" />
                            <asp:BoundField DataField="END_DATE" HeaderText="终孔日期"
                                SortExpression="END_DATE" />
                            <%--<asp:HyperLinkField DataNavigateUrlFields="ID" HeaderText="查看岩心图像"
                                    DataNavigateUrlFormatString="ZKDepthDetials.aspx?zkid={0}"
                                    DataTextFormatString="{0}" DataTextField="IMAGE"
                                    SortExpression="IMAGE" />--%>
                        </Columns>
                        <FooterStyle BackColor="White" ForeColor="#000066" />
                        <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                        <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                        <SortedAscendingCellStyle BackColor="#F1F1F1" />
                        <SortedAscendingHeaderStyle BackColor="#007DBB" />
                        <SortedDescendingCellStyle BackColor="#CAC9C9" />
                        <SortedDescendingHeaderStyle BackColor="#00547E" />
                    </asp:GridView>
                </div>




                <div id="BBDIV" style="width: 988px; min-height: 500px; position: relative; background: url(pic/background.jpg) repeat-x; display: none;" align="center" runat="server">
                    <asp:GridView ID="BBGridView" runat="server" AutoGenerateColumns="False"
                        CellPadding="3" Width="988px" CssClass="GridViewTdHeight" Style="margin: 20px 0 250px 0; position: relative; float: left; text-align: center;" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px">
                        <RowStyle ForeColor="#000066" BorderColor="#42aed6" BorderWidth="1px" />
                        <Columns>
                            <asp:BoundField DataField="ZL_FILE_ID" HeaderText="地质资料档号"
                                SortExpression="ZL_FILE_ID" />
                            <%--<asp:BoundField DataField="BB_CODE" HeaderText="标本编号" 
                    SortExpression="BB_LCODE" />--%>

                            <asp:TemplateField HeaderText="标本编号">
                                <ItemTemplate>
                                    <%# Eval("BB_CODE") %><a href="javascript:void(0);" onclick="javascript:openwindow('BBImgInfo.aspx?bfid=<%# Eval("ZL_FILE_ID") %>&bbcd=<%# Eval("BB_CODE") %>','',1100,650)">&nbsp;查看详情</a>
                                </ItemTemplate>
                            </asp:TemplateField>

                            <asp:BoundField DataField="CY_POS" HeaderText="采样地点"
                                SortExpression="CY_POS" />
                            <asp:BoundField DataField="BB_STYLE" HeaderText="标本类型"
                                SortExpression="BB_STYLE" />
                            <asp:BoundField DataField="REMARK" HeaderText="标本简介"
                                SortExpression="REMARK">

                                <ItemStyle Width="680px"></ItemStyle>
                            </asp:BoundField>


                        </Columns>
                        <FooterStyle BackColor="White" ForeColor="#000066" />
                        <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                        <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                        <SortedAscendingCellStyle BackColor="#F1F1F1" />
                        <SortedAscendingHeaderStyle BackColor="#007DBB" />
                        <SortedDescendingCellStyle BackColor="#CAC9C9" />
                        <SortedDescendingHeaderStyle BackColor="#00547E" />
                    </asp:GridView>
                </div>





                <div id="BPDIV" style="width: 988px; min-height: 500px; position: relative; background: url(pic/background.jpg) repeat-x; display: none;" align="center" runat="server">
                    <asp:GridView ID="BPGridView" runat="server" AutoGenerateColumns="False"
                        CellPadding="3" Width="988px" CssClass="GridViewTdHeight" Style="margin: 20px 0 250px 0; position: relative; float: left; text-align: center;" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px">
                        <RowStyle ForeColor="#000066" BorderColor="#42aed6" BorderWidth="1px" />
                        <Columns>
                            <asp:BoundField DataField="ZL_FILE_ID" HeaderText="地质资料档号"
                                SortExpression="ZL_FILE_ID" />
                            <asp:BoundField DataField="BP_CODE" HeaderText="薄片编号"
                                SortExpression="BP_CODE" />
                            <asp:BoundField DataField="BP_NAME" HeaderText="薄片名称"
                                SortExpression="BP_NAME" />
                            <asp:BoundField DataField="PM_PATH_NAME" HeaderText="剖面（路线）名称称"
                                SortExpression="PM_PATH_NAME" />
                            <asp:BoundField DataField="FEATURE" HeaderText="宏观特征"
                                SortExpression="FEATURE" />
                            <asp:BoundField DataField="DESCRIB" HeaderText="镜下描述"
                                SortExpression="DESCRIB">
                                <ItemStyle Width="680px"></ItemStyle>
                            </asp:BoundField>


                        </Columns>
                        <FooterStyle BackColor="White" ForeColor="#000066" />
                        <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                        <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                        <SortedAscendingCellStyle BackColor="#F1F1F1" />
                        <SortedAscendingHeaderStyle BackColor="#007DBB" />
                        <SortedDescendingCellStyle BackColor="#CAC9C9" />
                        <SortedDescendingHeaderStyle BackColor="#00547E" />
                    </asp:GridView>
                </div>



                <div id="GPDIV" style="width: 988px; min-height: 500px; position: relative; background: url(pic/background.jpg) repeat-x; display: none;" align="center" runat="server">
                    <asp:GridView ID="GPGridView" runat="server" AutoGenerateColumns="False"
                        CellPadding="3" Width="988px" CssClass="GridViewTdHeight" Style="margin: 20px 0 250px 0; position: relative; float: left; text-align: center;" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px">
                        <RowStyle ForeColor="#000066" BorderColor="#42aed6" BorderWidth="1px" />
                        <Columns>
                            <asp:BoundField DataField="ZL_FILE_ID" HeaderText="地质资料档号"
                                SortExpression="ZL_FILE_ID" />
                            <asp:BoundField DataField="GP_CODE" HeaderText="光片编号"
                                SortExpression="GP_CODE" />
                            <asp:BoundField DataField="GP_NAME" HeaderText="光片名称"
                                SortExpression="GP_NAME" />
                            <asp:BoundField DataField="PM_PATH_NAME" HeaderText="剖面（路线）名称"
                                SortExpression="PM_PATH_NAME" />


                            <asp:BoundField DataField="JGGZ" HeaderText="结构构造"
                                SortExpression="JGGZ" />
                            <asp:BoundField DataField="PM_PATH_NAME" HeaderText="剖面（路线）名称称"
                                SortExpression="PM_PATH_NAME" />
                            <asp:BoundField DataField="FEATURE" HeaderText="宏观特征"
                                SortExpression="FEATURE" />
                            <asp:BoundField DataField="DESCRIB" HeaderText="镜下描述"
                                SortExpression="DESCRIB">
                                <ItemStyle Width="680px"></ItemStyle>
                            </asp:BoundField>


                        </Columns>
                        <FooterStyle BackColor="White" ForeColor="#000066" />
                        <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                        <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                        <SortedAscendingCellStyle BackColor="#F1F1F1" />
                        <SortedAscendingHeaderStyle BackColor="#007DBB" />
                        <SortedDescendingCellStyle BackColor="#CAC9C9" />
                        <SortedDescendingHeaderStyle BackColor="#00547E" />
                    </asp:GridView>
                </div>



                <div id="YPDIV" style="width: 988px; min-height: 500px; position: relative; background: url(pic/background.jpg) repeat-x; display: none;" align="center" runat="server">
                    <asp:GridView ID="YPGridView" runat="server" AutoGenerateColumns="False"
                        CellPadding="3" Width="988px" CssClass="GridViewTdHeight" Style="margin: 20px 0 250px 0; position: relative; float: left; text-align: center;" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px">
                        <RowStyle ForeColor="#000066" BorderColor="#42aed6" BorderWidth="1px" />
                        <Columns>
                            <asp:BoundField DataField="ZL_FILE_ID" HeaderText="地质资料档号"
                                SortExpression="ZL_FILE_ID" />
                            <asp:BoundField DataField="YP_CODE" HeaderText="YP_CODE"
                                SortExpression="YP_CODE" />
                            <asp:BoundField DataField="YP_NAME" HeaderText="样品名称"
                                SortExpression="YP_NAME" />

                            <asp:BoundField DataField="BP_ID" HeaderText="薄片编号"
                                SortExpression="BP_ID" />
                            <asp:BoundField DataField="PM_PATH_NAME" HeaderText="剖面（路线）名称"
                                SortExpression="PM_PATH_NAME" />


                            <asp:BoundField DataField="GEO_ATT_NUM" HeaderText="地质产状"
                                SortExpression="GEO_ATT_NUM" />
                            <asp:BoundField DataField="PM_PATH_NAME" HeaderText="剖面（路线）名称称"
                                SortExpression="PM_PATH_NAME" />
                            <asp:BoundField DataField="CY_LEVEL" HeaderText="采样层位"
                                SortExpression="CY_LEVEL" />
                            <asp:BoundField DataField="REMARK" HeaderText="标本简介"
                                SortExpression="REMARK">
                                <ItemStyle Width="680px"></ItemStyle>
                            </asp:BoundField>


                        </Columns>
                        <FooterStyle BackColor="White" ForeColor="#000066" />
                        <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                        <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                        <SortedAscendingCellStyle BackColor="#F1F1F1" />
                        <SortedAscendingHeaderStyle BackColor="#007DBB" />
                        <SortedDescendingCellStyle BackColor="#CAC9C9" />
                        <SortedDescendingHeaderStyle BackColor="#00547E" />
                    </asp:GridView>
                </div>




                <div id="XGDIV" style="width: 988px; min-height: 500px; position: relative; background: url(pic/background.jpg) repeat-x; display: none;" align="center" runat="server">
                    <asp:GridView ID="XGGridView" runat="server" AutoGenerateColumns="False"
                        CellPadding="3" Width="988px" CssClass="GridViewTdHeight" Style="margin: 20px 0 250px 0; position: relative; float: left; text-align: center;" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px">
                        <RowStyle ForeColor="#000066" BorderColor="#42aed6" BorderWidth="1px" />
                        <Columns>
                            <asp:BoundField DataField="ZL_FILE_ID" HeaderText="地质资料档号"
                                SortExpression="ZL_FILE_ID" />
                            <asp:BoundField DataField="XG_CODE" HeaderText="资料编号"
                                SortExpression="XG_CODE" />
                            <asp:BoundField DataField="DATA_NAME" HeaderText="相关资料名称"
                                SortExpression="DATA_NAME" />


                            <asp:BoundField DataField="SCALE" HeaderText="计量单位"
                                SortExpression="SCALE" />


                            <asp:BoundField DataField="NUM" HeaderText="数量"
                                SortExpression="NUM" />



                        </Columns>
                        <FooterStyle BackColor="White" ForeColor="#000066" />
                        <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                        <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                        <SortedAscendingCellStyle BackColor="#F1F1F1" />
                        <SortedAscendingHeaderStyle BackColor="#007DBB" />
                        <SortedDescendingCellStyle BackColor="#CAC9C9" />
                        <SortedDescendingHeaderStyle BackColor="#00547E" />
                    </asp:GridView>
                </div>


                <div id="PMDIV" style="width: 988px; min-height: 500px; position: relative; background: url(pic/background.jpg) repeat-x; display: none;" align="center" runat="server">
                    <asp:GridView ID="PMGridView" runat="server" AutoGenerateColumns="False"
                        CellPadding="3" Width="988px" CssClass="GridViewTdHeight" Style="margin: 20px 0 250px 0; position: relative; float: left; text-align: center;" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px">
                        <RowStyle ForeColor="#000066" BorderColor="#42aed6" BorderWidth="1px" />
                        <Columns>
                            <asp:BoundField DataField="ZL_FILE_ID" HeaderText="地质资料档号"
                                SortExpression="ZL_FILE_ID" />
                            <%--    <asp:BoundField DataField="PM_CODE" HeaderText="剖面编号" 
                    SortExpression="PM_CODE" />--%>
                            <asp:TemplateField HeaderText="标本编号">
                                <ItemTemplate>
                                    <%# Eval("PM_CODE") %><a href="javascript:void(0);" onclick="javascript:openwindow('PMImgInfo.aspx?bfid=<%# Eval("ZL_FILE_ID") %>&bbcd=<%# Eval("PM_CODE") %>','',1100,650)"><br />
                                        查看详情</a>
                                </ItemTemplate>
                            </asp:TemplateField>
                            <asp:BoundField DataField="PM_NAME" HeaderText="剖面（路线)名称"
                                SortExpression="PM_NAME" />


                            <asp:BoundField DataField="PM_QUALITY" HeaderText="剖面性质"
                                SortExpression="PM_QUALITY" />


                            <asp:BoundField DataField="PM_SUMMARY" HeaderText="剖面小结"
                                SortExpression="PM_SUMMARY" />
                            <asp:BoundField DataField="PM_LDES" HeaderText="剖面分层描述"
                                SortExpression="PM_LDES" />


                        </Columns>
                        <FooterStyle BackColor="White" ForeColor="#000066" />
                        <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
                        <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                        <SortedAscendingCellStyle BackColor="#F1F1F1" />
                        <SortedAscendingHeaderStyle BackColor="#007DBB" />
                        <SortedDescendingCellStyle BackColor="#CAC9C9" />
                        <SortedDescendingHeaderStyle BackColor="#00547E" />
                    </asp:GridView>
                </div>





            </div>

            <div id="foot_UC">

                <div id="foot">
                    <uc1:Pfoot runat="server" ID="Pfoot" />
                </div>
            </div>
        </form>
    </center>
</body>
</html>
